import React from "react";
import { Layout } from "antd";
import "./index.css";
import Swiper from "./swiper";
import Nav from "./nav";
import Hot from "./hot";
const { Header, Footer, Content } = Layout;
const index = () => {
  return (
    <div>
      <Layout>
        {/* 头部 */}
        <Header>
          <img src={require("./runwenimg/logo.png")} alt="" />
        </Header>
        <Content>
          {/* 轮播图 */}
          <Swiper />
          {/* 标题 */}
          <Nav />
          {/* 热门推荐 */}
          <Hot />
        </Content>
        {/* 底部 */}
        <Footer>12123</Footer>
      </Layout>
    </div>
  );
};

export default index;
